#ifndef BASEWINDOW_H
#define BASEWINDOW_H
#include "tools.h"
class BaseWindow: public QMainWindow
{
    Q_OBJECT
    str mName;
public:
    explicit BaseWindow(QWidget *parent = 0);
    virtual ~BaseWindow();
    void SetName(str name){mName=name;}
   public:
    void closeEvent ( QCloseEvent * event );


};
#endif // BASEWINDOW_H

